package com.uyayo.framework.web.constants;

/**
 * 公共常量类
 * @author hfj
 */
public final class WebConstants {

	public static String CAPTCHA_SESSION =  "CAPTCHA_SESSION_NAME";

	public static String CAPTCHA_SESSION_TIME =  "CAPTCHA_SESSION_TIME";

	public static final String HEADER_X_FORWARDED_FOR = "x-forwarded-for";

	public static final String HEADER_PROXY_CLIENT_IP = "Proxy-Client-IP";

	public static final String HEADER_WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";

	/**
	 * 验证码
	 */
	public static final String KEY_CAPTCHA = "SE_KEY_MM_CODE";

	public static final String REGISTER_CAPTCHA_KEY = "REGISTER_SE_KEY_MM_CODE";

	public static final String REGISTER_CAPTCHA_TIME_KEY = "REGISTER_SE_KEY_MM_TIME";
	/**
	 * 验证码记录时间
	 */
	public static final String KEY_CAPTCHA_TIME = "SE_KEY_MM_TIME";
	/**
	 * 验证码默认超时时间
	 * 10分钟
	 */
	public final static long CAPTCHA_TIMEOUT = 600000;


	public static final String UNKNOWN = "UNKNOWN";
	public static final String COMMA = ",";
	public static final String BLANK = " ";
}